﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;

namespace KnowlegeAssistant
{
    class Question
    {
        private int question_id;
        private Theme theme;
        private string description;
        private byte type;
        private Level level;
        private Bitmap image;

        public Question(int question_id, Theme theme, string description, byte type, Level level)
        {
            this.question_id = question_id;
            this.theme = theme;
            this.description = description;
            this.type = type;
            this.level = level;
        }

        public int QuestionID
        {
            get { return this.question_id; }
            set { this.question_id = value; }
        }

        public string Description
        {
            get { return this.description; }
            set { this.description = value; }
        }

        public Theme Theme
        {
            get { return this.theme; }
            set { this.theme = value; }
        }

        public byte Type
        {
            get { return this.type; }
            set { this.type = value; }
        }

        public bool Answered
        { get; set; }

        public float LevelValue
        {
            get { return this.level.LevelValue; }
        }

        public string LevelDescription
        {
            get { return this.level.Description; }
        }

        public Bitmap Image
        {
            get { return this.image; }
            set { this.image = value; }
        }

        public Level Level
        {
            get { return this.level; }
            set { this.level = value; }
        }
    }
}
